h1 {
    --font-cale: 2.5;;
}

h2 {
    --font-cale: 1.75;
}

h3 {
    --font-cale: 1.5;
}

h4 {
    --font-cale: 1.25;
}

h5 {
    --font-cale: 1.15;
}

.postContent h2, .table-content .h2 {
    counter-reset: h3;
    --font-cale: 1.125;
    --table-edge: -1.5em;
    --table-ment: h2;
    margin-block: 1em;
}

.postContent h3, .table-content .h3 {
    counter-reset: h4;
    --font-cale: 1.0625;
    --table-ment: h3;
    --table-tent: counter(h3);
    margin-block: 1em;
}

.postContent h4, .table-content .h4 {
    counter-reset: h5;
    --font-cale: 1.05;
    --table-ment: h4;
    --table-tent: counter(h3) "." counter(h4);
    margin-block: 1em;
}

.postContent h5, .table-content .h5 {
    counter-reset: h6;
    --font-cale: 1.025;
    --table-ment: h5;
    --table-tent: counter(h3) "." counter(h4) "." counter(h5);
    margin-block: 1em;
}

.postContent h6, .table-content .h6 {
    --table-ment: h6;
    --table-tent: counter(h3) "." counter(h4) "." counter(h5) "." counter(h6);
    margin-block: 1em;
}

.postContent :is(h1, h2, h3, h4, h5, h6)::before,
.table-content :is(.h1, .h2, .h3, .h4, .h5, .h6)::before {
    counter-increment: var(--table-ment);
    content: counter(h2) "." var(--table-tent, "");
    font-variant-numeric: tabular-nums;
    margin-right: .5em;
    flex: none;
}

:where(.postContent) > :where(p, pre, address, blockquote, figure, details, iframe, audio, video, h1, h2, h3, h4, h5, h6, ul, ol) {
    margin-block: 1em;
}

:where(.postContent) :where(h1, h2, h3, h4, h5, h6) {
    font: var(--font-weight-title) calc(var(--font-size-normal) * var(--font-cale, 1)) / 1.5 var(--font-family-title) !important;
    letter-spacing: var(--font-spacing);
    margin-bottom: 1.5em;
}

.postContent .code-toolbar{
    margin-block: 1em;
}
